package com.oly.cms.general.taglib;

import java.util.List;

import com.oly.cms.general.model.po.WebArticleCountSort;
import com.oly.cms.general.service.cache.WebArticleSortCacheService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 获取文章基本信息 排序
 */
@Service("articleCountSortTag")
public class ArticleCountSortTag {

    @Autowired
    private WebArticleSortCacheService webArticleSortService;

    public List<WebArticleCountSort> listWebArticleCountOrderByLook(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByLook(pageNum, pageSize, themeName);
    }

    public List<WebArticleCountSort> listWebArticleCountOrderByLike(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByLike(pageNum, pageSize, themeName);
    }

    public List<WebArticleCountSort> listWebArticleCountOrderByScore(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByScore(pageNum, pageSize, themeName);
    }

    public List<WebArticleCountSort> listWebArticleCountOrderByCollect(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByCollect(pageNum, pageSize, themeName);
    }

    public List<WebArticleCountSort> listWebArticleCountOrderByShare(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByShare(pageNum, pageSize, themeName);
    }

    public List<WebArticleCountSort> listWebArticleCountOrderByNasty(int pageNum, int pageSize, String themeName) {

        return webArticleSortService.listWebArticleCountOrderByNasty(pageNum, pageSize, themeName);
    }

}
